
<%@page import="comm.util.CommUtil"%>
<%@page import="comm.util.RequestManager"%>
<%@page import="comm.util.SoptHashMap"%>
<%@page import="styledaco.board.BoardProc"%><%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
ReplyProc reply = new ReplyProc();
SoptHashMap hm = RequestManager.getRequest(request);
System.out.println("#######################");
System.out.println(hm.toString());
String curBoardSeq = CommUtil.NVL(hm.get("BOARD_SEQ"),"");
String actionType = CommUtil.NVL(hm.get("ACTIONTYPE"),"");
String result = "";
System.out.println(hm.get("ACTIONTYPE"));
if(actionType.equals("updateReply")){
	result = reply.updateReply(request);
}else if(actionType.equals("deleteReply")){
	result = reply.deleteReply(request);
}else if(actionType.equals("regReply")){
	result = reply.regReply(request);
}
%>


<%@page import="styledaco.board.ReplyProc"%><script type="text/javascript">
	window.parent.afterReplyWriteComplete('<%=curBoardSeq%>','<%=result%>');
</script>